home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / util2 / zdir18.zip / HISTORY.TXT next >
Text File  |  1993-01-27  |  8KB  |  172 lines

  1. ;v1.7a    VERY minor tweaks to Gisbert's latest significant rewrite! (24 Oct 89)
  2. ;    (mainly because I'm still figuring out some of the logic!)
  3. ;    That's one tricky file name parser!
  4. ;    - Removed old version numbers (earlier than v1.7)
  5. ;    - Seems to work, so deleting the big chunks of commented-out code.
  6. ;    - Why do you put variable names in brackets, Gisbert?
  7. ;      I do that ONLY when I'm using that variable (a word) as a
  8. ;      pointer .. that way it jumps out at me.
  9. ;      Compiler's don't seem to mind!
  10. ;    - Re-tabified (again .. sigh .. doesn't TASM have an ASCII 9 tab?
  11. ;
  12. ;    Ain't this international joint hackery fun?
  13. ;    Toad Hall
  14.  
  15. ;v1.7    Another round from Bonn (20 Oct 89):
  16. ;    - fixed a bug in ZIP file name parsing: wouldn't accept a parent
  17. ;      dir in path ('..\blah'), nor dirs including .TYPEs (WHO uses those??)
  18. ;    - leave .TYP of zip file alone if specified on command line; why force
  19. ;      it to ZIP?? (Assuming the user knows what she does.)
  20. ;    - David's complaint about missing file name expansion routines pitied
  21. ;      me; so here's neat parsing, and the way DOS always should have worked:
  22. ;      'a*d' will match 'ad' and 'abd' and 'abcd' but not 'a' or 'ab'...;
  23. ;      'a?d' will match 'abd' but not 'ad'. Side effect: 'foo*' will
  24. ;      match 'foo' and 'foo.bar' - period is just an ordinary char.
  25. ;      This applies to ZIP members only, not to ZIP file names! (Could
  26. ;      be done easily, though. Too lazy for now. See comments in Find_ZIP.)
  27. ;      Thanks to Gunter Rademacher for a fine algorithm.
  28.  
  29. ;v1.6b  Back at Toad Hall ... (28 Sep 89)
  30. ;    - Removed old commented-out code (via v1.5, v1.6, v1.6a changes).
  31. ;    - NICE ideas in v1.6a  .. attaboy, Gisbert!
  32. ;    - No significant changes .. just cleaned up, making a "formal"
  33. ;      release from Toad Hall.
  34. ;    - Suppose we oughtta put in yet ANOTHER cmdline switch (-c or
  35. ;      something) for those who actually wanna pipe names (paths'n'all)
  36. ;      to StdOut.  (The -c means omit ZIP comments.)
  37.  
  38. ;v1.6a  GWS (yeah, hacking away in West Germany's capital village) strikes again
  39. ;    - Cleaning up verbose display:
  40. ;      Some columns were one off. Also, change name alignment slightly.
  41. ;    - Added /m ('monosyllabic') command line switch:
  42. ;      This will show full names, paths'n'all, as stored in the Zip,
  43. ;      one per line, and nothing else. May be nice for piping into
  44. ;      other programmes. - Beware of the header lines, though.
  45.  
  46. ;v1.6    - v1.4a Changes:
  47. ;      Gisbert Selke (all the way from Germany, I think) tweaked the earlier
  48. ;      v1.4 (see v1.4a comments).
  49. ;      I kept his changes (that I hadn't already added in v1.5 myself),
  50. ;      incorporating them into the v1.5 code.  (Of course, just HAD to tweak
  51. ;      his changes as well!)
  52. ;    - Member filenames:
  53. ;      Still considering shifting filenames to the right hand side of
  54. ;      the screen output.  That would permit long (path) filenames to be
  55. ;      displayed/output (with screen wraparound handling the weird,
  56. ;      extra-long ones).  I believe that's why the PKZIP (Katz) author
  57. ;      formatted his display that way.  But the member names on the right
  58. ;      is NOT convenient to me!  Leaving it the original way (member file
  59. ;      names on the left).
  60.  
  61. ;v1.5    Updating for PKZIP v1.01
  62. ;    - Added "implode" to file compression style table
  63. ;      (plus other tests to insure we catch illegal values).
  64. ;    - Adding an "E" before the compression style
  65. ;      (to indicate if file is encrypted) (verbose only).
  66. ;    - Found bug in testing for ZIP member filename paths:
  67. ;      PKZIP uses the "/" char for subdir separator instead of "\".
  68. ;      Fixed.
  69. ;    - Tightened up code for path-testing,
  70. ;      extended the "+" path flag display for verbose as well as
  71. ;      nonverbose displays.
  72. ;      No, we aren't displaying paths yet.
  73. ;    - If using wildcard member option (in verbose mode),
  74. ;      we don't display verbose header until we find a qualifying
  75. ;      file.
  76. ;    - Total and total total displays:  More than one qualifying member
  77. ;      file must be found before the figures are displayed.  (This is
  78. ;      for verbose mode only.)
  79. ;      - Totals (qualifying member files, each ZIP)
  80. ;      - Total totals (qualifying member files, ALL qualifying ZIPs)
  81. ;    - WildCard searches:
  82. ;      Considered not displaying a target .ZIP file's name at ALL
  83. ;      if it has no "eligible" member wildcard contents (to shorten
  84. ;      output to just those .ZIP files (and members) found in a wildcard
  85. ;      search.  However, decided a non-find is valuable information.
  86. ;      At least the .ZIP file name will be output.
  87. ;
  88. ;    - Removed earlier v1.n flags from code
  89. ;
  90. ;    Considering processing file names (vname) to handle "long" names
  91. ;    (e.g., those with paths).
  92. ;    Paths would probably only be displayed in verbose mode
  93. ;    (on a separate line, or maybe to screen right, letting screen
  94. ;    display handle "wraparound").
  95.  
  96. ;v1.4a  Gisbert W.Selke (RECK@DBNUAMA1.BITNET for now): allow '/' as
  97. ;    switch char, too (for them die-hard DOS people like myself).
  98. ;    Output rrrrreal 4-byte CRCs. Add text for 'Imploded'.
  99.  
  100. ;v1.4    Keith Petersen (W8SDZ@WSMR-SIMTEL20.ARMY.MIL) informs me ZDIR
  101. ;    is failing on a lot of ZIP files from local BBS's.  Seems the BBS's
  102. ;    are adding huge comments, and ZDIR can't find the central directory.
  103. ;    Increasing ENDOFS (the amount of ZIP file trailer we read in)
  104. ;    to allow for this.
  105. ;    Keith also suggested the verbose mode as default .. but I don't agree!
  106. ;    If I wanted verbose, I would have used PKZIP -v in the first place!
  107. ;    Also programs like Buerg's ZIPV do that just fine.
  108.  
  109. ;v1.3c  Bug:  I'd written code to handle no cmdline parms at all,
  110. ;    but failed to test it!  Turns out system locks up!
  111. ;    Thanks to FAAR RBBS for alerting me.  Sloppy testing procedures.
  112.  
  113. ;v1.3b  Bug:  Forgot the added "-v" verbose switch as the FIRST PSP
  114. ;    cmdline argument would blow away using our PSP FCB's to get
  115. ;    the parsed member filename.
  116. ;    Using _Args (from KEGELUNX unix-like cmdline parsing)
  117. ;    to handle the -v switch anywhere on cmdline.
  118. ;    (Affects Parse_CmdLine only.)
  119.  
  120. ;v1.3a  23 Mar 89
  121. ; -    Adding file comment display to verbose mode.
  122. ; -    Because of the occasional padding (by XMODEM) of garbage to the
  123. ;    end of a file, we're back to reading a full 256 bytes at the
  124. ;    ZIP file end to find that end structure (149 bytes for the largest
  125. ;    likely ENDDIR structure, plus the padding to the next 128 boundary).
  126. ;    If you don't HAVE any of these files, change ENDOFS back to 149.
  127.  
  128. ;v1.3    22 Mar 89
  129. ; -    Adding verbose display (a -v switch).
  130. ;    Cribbing code from QBARCV3.ASM (my improvements on QBARV2.ASM,
  131. ;    a utility for RBBS ARC/PAK displays).
  132. ;    Usage:  ZDIR -v foob    (yep, -v must be first parm)
  133.  
  134. ;v1.2    21 Mar 89
  135. ; -    Missed the obvious .. the very last structure in a ZIP file
  136. ;    (call it ENDDIR) contains a pointer to the central directory.
  137. ;    Since the only variable length fields in that last structure
  138. ;    are fairly short (zip comments, etc.), it should be MUCH smaller.
  139. ;    We won't need that huge 5Kb SWAG for the initial directory read.
  140. ;    Cutting buffer down to 128 bytes, reading in ENDDIR to get that
  141. ;    central directory pointer, and then going right to central directory.
  142. ;    Since the max possible ZIP file comment (in ENDDIR) is 7FH bytes,
  143. ;    the max possible ENDDIR would be 7FH + 22 (normal structure size)
  144. ;    or 149 bytes (ENDOFS).
  145. ; -    Moved initial cmdline parsing down to code end
  146. ;    (just to clean up things)
  147. ; -    Caught a bug .. failed on a single '*' wildcard cmdline parm.
  148.  
  149. ;v1.1    18 Mar 89
  150. ; -    Added full pathing capabilities for target .ZIP files.
  151. ; -    Added ambiguous member screening (e.g., search FOOB.ZIP
  152. ;    for just *.ASM files).
  153. ; -    Cleaned up the kludgey ADIR wildcard finds with all its
  154. ;    multiple DTAs, etc.
  155. ; -    Still no way to test for member filename paths.
  156.  
  157. ;Original ADIR.EXE fixes:
  158. ; - Fixed bug that never closed any files!
  159. ; - Changed to .COM format, tightened, etc.
  160.  
  161. ;ZIP functional changes:  MANY!  I consider this almost a total rewrite
  162. ;(except for the kludge with wildcard finds from the original ADIR.EXE).
  163. ;(So that's settled now, too.)                        v1.7
  164.  
  165. ; - Since the filename length is variable (and may include paths),
  166. ;   the handling, formatting and display is significantly different
  167. ;   than in ADIR.
  168. ; - Have to put back the ambiguous member parsing.
  169.  
  170. ;David Kirschbaum
  171. ;Toad Hall
  172.